<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>首页</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>

<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">在线视频管理系统</div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item"><a href="${pageContext.request.contextPath}/login.jsp">注销</a></li>
        </ul>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree">
                <li class="layui-nav-item">
                    <a href="userManager.jsp" target="my_iframe">用户管理</a>
                </li>
                <li class="layui-nav-item">
                    <a href="videoManager.jsp" target="my_iframe">资源列表</a>
                </li>
                <li class="layui-nav-item">
                    <a href="videoUpload.jsp" target="my_iframe">上传视频</a>
                </li>
                <li class="layui-nav-item">
                    <a href="typeManager.jsp" target="my_iframe">分类列表</a>
                </li>
                <li class="layui-nav-item">
                    <a href="vipManager.jsp" target="my_iframe">vip管理</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-body">
        <div style="padding: 15px;">
            <iframe id="myIframe" frameborder="0" name="my_iframe" style="width: 100%; height: 580px;"></iframe>
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/layui/layui.js"></script>
<script>
    layui.use(['element', 'layer', 'jquery'], function () {
        var element = layui.element,
            layer = layui.layer,
            $ = layui.jquery;
    });
</script>
</body>
</html>